import request from '@/utils/request'
export function gettags(params) {
  return request.get('/ydd_tag/list', { params })
}
export function getalltags() {
  return request.get('/ydd_tag/all')
}
export function gettagsdetail(id) {
  return request.get('/ydd_tag/rowInfo', { params: { id }})
}
export function deltags(id) {
  return request.get('/ydd_tag/del', { params: { id }})
}
export function addtags(data) {
  return request.post('/ydd_tag/add', data)
}
export function edittags(data) {
  return request.post('/ydd_tag/update', data)
}

